#include <fstream>
#include <iostream>

using namespace std;

int main(int argc, char *argv[])
{
	char c;
	ifstream fs;

	if (argc < 2)
		return 1;

	// 打开
	fs.open(argv[1]);

	while (1) {
		c = fs.get();
		if (fs.eof())
			break;
		cout << c;
	}

	fs.close();

	return 0;
}

